<%-------------------------------------------------------------------
 * 页面名称：netBankInpour_3.jsp
 * 功能描述：电话银行充值－充值结果
 * Action  : 
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
	String path = request.getContextPath(); 
%>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="38" background="<%=path%>/images/2007/subtitle_bg.gif">　　<span class="subTitleWhite">电话银行充值</span></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="<%=path%>/images/new/page-gray.gif" width="780" height="15" /></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#DDDFDE">
  <tr>
    <td colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="317">&nbsp;</td>
        <td width="42" align="center"><img src="<%=path%>/images/2007/1_on.gif" width="37" height="36" /></td>
        <td width="97" class="fontblue14">填写充值信息</td>
        <td width="20" class="fontblue14"><img src="<%=path%>/images/2007/arrow.gif" width="17" height="20" /></td>
        <td width="37"><img src="<%=path%>/images/2007/2_on.gif" width="37" height="36" /></td>
        <td width="103" class="fontblue14">确认充值信息</td>
        <td width="21" class="fontgray14"><span class="fontblue14"><img src="<%=path%>/images/2007/arrow.gif" width="17" height="20" /></span></td>
        <td width="37"><img src="<%=path%>/images/2007/3_on.gif" width="37" height="36" /></td>
        <td width="65" class="fontblue14">充值结果</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#FFFFFF"><table width="710" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#f9e277" style="margin:10px 0;">
      <tr>
        <td bgcolor="#fffdf5"><table width="100%" border="0" cellpadding="0" cellspacing="5">
            <tr>
              <td width="4%" valign="top"><img src="<%=path%>/images/new/page-gray-18.gif" width="29" height="24" border="0" align="absmiddle" /></td>
              <td width="96%" class="font_gray">● <logic:equal name="successful" value="true">您的充值已经成功！</logic:equal><logic:equal 
                name="successful" value="false">
                	充值失败，错误原因如下：<br />
                	<bean:parameter id="returnMessage" name="returnMessage"/>
                	<bean:write name="returnMessage" />
                </logic:equal><br /></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td width="26%" background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">交易编号：</td>
    <td width="74%" bgcolor="#FFFFFF"><bean:write name="transaction" property="transId" /></td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">充值子账户：</td>
    <td bgcolor="#FFFFFF"><bean:write name="transaction" property="credit.accountName" /></td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">充值金额：</td>
    <td bgcolor="#FFFFFF"><ad:FormatPrase><bean:write name="transaction" property="amount" /></ad:FormatPrase> 元</td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">手续费用：</td>
    <td bgcolor="#FFFFFF"><ad:FormatPrase><bean:write name="transaction" property="creditFee" /></ad:FormatPrase> 元</td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">实际金额：</td>
    <td bgcolor="#FFFFFF"><ad:FormatPrase><bean:write name="actualAmount" /></ad:FormatPrase> 元</td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">充值子账户当前余额：</td>
    <td bgcolor="#FFFFFF">
      <ad:FormatPrase><bean:write name="transaction" property="credit.accountBalance.balance" /></ad:FormatPrase>
	  &nbsp;&nbsp;<a href="<%=path%>/page/myspace/subBalance.do" class="menuTextBlue">查看账户明细</a>
    </td>
  </tr>
<logic:equal name="personAccount" value="true">
  <logic:notEmpty name="ScoresHistory" property="scoresAmount">
  <logic:greaterThan name="ScoresHistory" property="scoresAmount" value="0">
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue"> 本次积分：</td>
    <td bgcolor="#FFFFFF"><bean:write name="ScoresHistory" property="scoresAmount" format="####"/> 分</td>
  </tr>
  </logic:greaterThan>
  </logic:notEmpty>
  <logic:notEmpty name="ScoresHistory" property="totalScores">
  <logic:greaterThan name="ScoresHistory" property="totalScores" value="0">
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue"> 累计积分：</td>
    <td bgcolor="#FFFFFF"><bean:write name="ScoresHistory" property="totalScores" format="####"/> 分</td>
  </tr>
  </logic:greaterThan>
  </logic:notEmpty>
</logic:equal>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="41" align="right" background="<%=path%>/images/2007/page-gray.gif">
	  <input type="button" name="close" value="关 闭" class="buttonStyle-short" onclick="self.close();" style="margin-right:20px;"/>
	</td>
  </tr>
</table>